from django.conf.urls import patterns, url
from business.views import CountryListView, CountryDetailView
from business.views import CountryCreateView, CountryUpdateView, CountryDeleteView


urlpatterns = patterns('',
    url(r'^country/$', CountryListView.as_view(), name='country_listview'),
    url(r'^country/(?P<pk>\d+)/$', CountryDetailView.as_view(), name='country_detailview'),
    url(r'^country/create/$', CountryCreateView.as_view(), name='country_createview'),
    url(r'^country/(?P<pk>\d+)/update/$', CountryUpdateView.as_view(), name='country_updateview'),
    url(r'^country/(?P<pk>\d+)/delete/$', CountryDeleteView.as_view(), name='country_deleteview'),
    )
